using Domain;
using ErrorCode;
using MediatR;

namespace WriteAPI.Command.Material
{
    /// <summary>
    /// 更新物料补货单及其明细的命令
    /// </summary>
    public class UpdateMaterialReplenishmentWithDetailsCommand : IRequest<APIResult<object>>
    {

        public int Id { get; set; }
        public string DocCode { get; set; }
        public string BizType { get; set; } = string.Empty;
        public string PlanNo { get; set; } = string.Empty;
        public string DocDate { get; set; } = string.Empty;
        public string Operator { get; set; } = string.Empty;
        public string? SalesNo { get; set; }
        public string? MaterialName { get; set; }
        public string DocStatus { get; set; } = string.Empty;
        public string? Auditor { get; set; }
        public string? DeliveryDate { get; set; }
        public string? Unit { get; set; }
        public string BizStatus { get; set; } = string.Empty;
        public int ProductionQty { get; set; }
        public string? Remark { get; set; }
        public DateTime? CreatedAt { get; set; }
        public List<MaterialDetail> MaterialDetails { get; set; } = new List<MaterialDetail>();
    }


}
